package com.boarsoft.message.bean;

import java.io.Serializable;
import java.util.Date;

public class MessageQueryParam implements Serializable {
	private static final long serialVersionUID = 3094970799721032893L;

	private String id;

	private Date startTime;

	private Date endTime;

	private String memo;

	private Short status;

	private int pageSize = 50;

	private int pageNo = 1;

	private String key;

	/** 为 true 表示本查询LOB字段 */
	private boolean lob;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public Date getStartTime() {
		return startTime;
	}

	public void setStartTime(Date startTime) {
		this.startTime = startTime;
	}

	public Date getEndTime() {
		return endTime;
	}

	public void setEndTime(Date endTime) {
		this.endTime = endTime;
	}

	public String getMemo() {
		return memo;
	}

	public void setMemo(String memo) {
		this.memo = memo;
	}

	public Short getStatus() {
		return status;
	}

	public void setStatus(Short status) {
		this.status = status;
	}

	public int getPageSize() {
		return pageSize;
	}

	public void setPageSize(int pageSize) {
		this.pageSize = pageSize;
	}

	public int getPageNo() {
		return pageNo;
	}

	public void setPageNo(int pageNo) {
		this.pageNo = pageNo;
	}

	public String getKey() {
		return key;
	}

	public void setKey(String key) {
		this.key = key;
	}

	@Override
	public String toString() {
		return "MainPojo [id=" + id + ", startTime=" + startTime + ", endTime=" + endTime + ", memo=" + memo + ", status="
				+ status + ", pageSize=" + pageSize + ", pageNo=" + pageNo + ", key=" + key + "]";
	}

	public boolean isLob() {
		return lob;
	}

	public void setLob(boolean lob) {
		this.lob = lob;
	}
}
